body {
    background-color: #f2f2f2;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container-login {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    width: 400px;
    padding: 30px;
    text-align: center;
}

.container-pic img {
    width: 150px;
    margin-bottom: 20px;
}

.login-dialog h3 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

.row {
    margin-bottom: 15px;
}

span {
    display: block;
    text-align: left;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

input.form-control {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

button {
    width: 100%;
    padding: 12px;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: #007bff;
    color: #ffffff;
    margin-top: 10px;
}

button:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.success-message {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 15px;
    margin-top: 20px;
    border-radius: 5px;
    font-size: 16px;
}

.error-message {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 15px;
    margin-top: 20px;
    border-radius: 5px;
    font-size: 16px;
}

button:active {
    transform: scale(0.98);
}

/* 新增部分，调整验证码和"看不清？换一张" */
.captcha-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.captcha-row .captcha-img {
    height: 40px;
    border: 1px solid gray;
    cursor: pointer;
    margin-left: 10px;
    width: 100px;
}

.refresh-btn {
    font-size: 12px;
    margin-left: 10px; /* 设置按钮与图片之间的间距 */
    padding: 0;
    border: none; /* 去掉按钮的默认边框 */
    background: none; /* 去掉按钮背景 */
    color: #007bff; /* 设置字体颜色 */
    cursor: pointer; /* 鼠标悬停时显示为手型 */
    text-decoration: none; /* 去掉下划线 */
}

.refresh-btn:hover {
    text-decoration: underline; /* 鼠标悬停时加下划线 */
}
